import './assets/main.css'
import 'amfe-flexible'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'vant/lib/index.css'
// 这四个vant组件是函数调用形式，unplugin-vue-components无法引入样式，所以需要手动引入
import 'vant/es/toast/style'
import 'vant/es/dialog/style'
import 'vant/es/notify/style'
import 'vant/es/image-preview/style'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.mount('#app')
